﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Edit.ascx.cs" Inherits="CMS.Controls.Members.Edit" %>
<script type="text/javascript" src="/js/jquery.tokeninput.company.js"></script>
<asp:Literal ID="ltMessage" runat="server" />
<div class="fix">
</div>
<fieldset>
    <div class="widget" style="margin-top: 20px">
        <div class="head">
            <h5 class="iList">
                <asp:Literal ID="ltTitle" runat="server" /></h5>
            <asp:Button ID="btnSaveAndContinue" Text="Lưu và tiếp tục" ClientIDMode="Static"
                Visible="false" CssClass="seaBtn mt5 mr5 floatright" OnClick="BtnSaveAndContinue"
                runat="server" />
        </div>
        <div class="rowElem nobg">
            <label>
                Nickname</label>
            <div class="formRight">
                <asp:TextBox ID="txtName" runat="server" CssClass="validate[required]" />
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="rowElem">
            <label>
                Tên đầy đủ</label>
            <div class="formRight">
                <asp:TextBox ID="txtFullName" runat="server" CssClass="validate[required]" />
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="rowElem">
            <label>
                Số vote vòng 1</label>
            <div class="formRight">
                <asp:TextBox ID="txtVote1" runat="server" Enabled="false" CssClass="" />
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="rowElem">
            <label>
                Số vote vòng 2</label>
            <div class="formRight">
                <asp:TextBox ID="txtVote2" runat="server" Enabled="false" CssClass="" />
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="rowElem">
            <label>
                Số vote vòng 3</label>
            <div class="formRight">
                <asp:TextBox ID="txtVote3" runat="server" Enabled="false" CssClass="" />
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="rowElem">
            <label>
                Giới tính</label>
            <div class="formRight">
                <asp:DropDownList ID="ddlGender" runat="server" Width="60">
                    <asp:ListItem Text="Nam" Value="0" />
                    <asp:ListItem Text="Nữ" Value="1" />
                </asp:DropDownList>
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="rowElem">
            <label>
                Ngày sinh</label>
            <div class="formRight">
                <asp:TextBox ID="txtBirthday" CssClass="datepicker validate[required]" runat="server" />
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="rowElem">
            <label>
                Email</label>
            <div class="formRight">
                <asp:TextBox ID="txtEmail" runat="server" CssClass="validate[required]" />
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="rowElem">
            <label>
                Địa chỉ</label>
            <div class="formRight">
                <asp:TextBox ID="txtAddress" runat="server" CssClass="validate[required]" />
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="rowElem">
            <label>
                Tỉnh thành</label>
            <div class="formRight">
                <asp:DropDownList ID="ddlCity" runat="server" Width="150">
                </asp:DropDownList>
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="rowElem">
            <label>
                Số điện thoại</label>
            <div class="formRight">
                <asp:TextBox ID="txtTel" runat="server" CssClass="validate[required]" />
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="rowElem">
            <label>
                Giới thiệu</label>
            <div class="formRight">
                <asp:TextBox ID="txtAbout" TextMode="MultiLine" Height="80" runat="server" />
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="rowElem">
            <label>
                Ảnh avatar</label>
            <div class="formRight">
                <asp:TextBox ID="txtAvatar" ClientIDMode="Static" Width="500" CssClass="floatleft"
                    runat="server" />
                <a class="floatleft btn14 mr5 ml5 topDir" title="Chọn ảnh" onclick="openFileManager('txtAvatar');"
                    href="#">
                    <img src="/images/icons/dark/folder.png" alt="" />
                </a><a class="floatleft btn14 topDir" title="Xem ảnh" onmousemove="viewImage('txtAvatar', 'medium', 190, 190);"
                    onmouseout="closeViewImage();">
                    <img src="/images/icons/dark/image2.png" alt="" />
                </a><span style="line-height: 28px;">&nbsp;(190 x 190)</span>
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="rowElem">
            <label>
                Ảnh đại diện album</label>
            <div class="formRight">
                <asp:TextBox ID="txtOriginalAvatar" ClientIDMode="Static" Width="500" CssClass="floatleft"
                    runat="server" />
                <a class="floatleft btn14 mr5 ml5 topDir" title="Chọn ảnh" onclick="openFileManager('txtOriginalAvatar');"
                    href="#">
                    <img src="/images/icons/dark/folder.png" alt="" />
                </a><a class="floatleft btn14 topDir" title="Xem ảnh" onmousemove="viewImage('txtOriginalAvatar', 'medium', 320, 200);"
                    onmouseout="closeViewImage();">
                    <img src="/images/icons/dark/image2.png" alt="" />
                </a><span style="line-height: 28px;">&nbsp;(320 x 200)</span>
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="rowElem">
            <label>
                Nổi bật</label>
            <div class="formRight">
                <asp:CheckBox ID="cbIsHomePage" Text="Trang chủ" runat="server" />
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="rowElem">
            <label>
                Chiến thắng trong vòng</label>
            <div class="formRight">
                <asp:CheckBox ID="cbIsWin" Text="Top vòng" runat="server" />
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="rowElem">
            <label>
                Hiển thị trên Slide</label>
            <div class="formRight">
                <asp:CheckBox ID="cbIsSlide" Text="Hiển thị" runat="server" />
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="rowElem">
            <label>
                Cheat vote</label>
            <div class="formRight">
                <asp:TextBox ID="txtCheat" runat="server" Enabled="false" CssClass="" />
            </div>
            <div class="fix">
            </div>
        </div>
        <div class="body floatright">
            <asp:Button ID="btnRound3" Text="Lên vòng 3" ClientIDMode="Static" Visible="false"
                CssClass="seaBtn mb15 ml5" OnClick="BtnRound3" runat="server" OnClientClick="getCompany();" />
            <asp:Button ID="btnRound2" Text="Lên vòng 2" ClientIDMode="Static" Visible="false"
                CssClass="seaBtn mb15 ml5" OnClick="BtnRound2" runat="server" OnClientClick="getCompany();" />
            <asp:Button ID="btnRound1" Text="Lên vòng 1" ClientIDMode="Static" Visible="false"
                CssClass="seaBtn mb15 ml5" OnClick="BtnRound1" runat="server" OnClientClick="getCompany();" />
            <asp:Button ID="btnPublish" Text="Duyệt" ClientIDMode="Static" Visible="false" CssClass="seaBtn mb15 ml5"
                OnClick="BtnPublish" runat="server" OnClientClick="getCompany();" />
            <asp:Button ID="btnRestore" Text="Phục hồi" ClientIDMode="Static" Visible="false"
                CssClass="seaBtn mb15 ml5" OnClick="BtnRestore" runat="server" OnClientClick="getCompany();" />
            <asp:Button ID="btnRemove" Text="Gỡ bài" ClientIDMode="Static" Visible="false" CssClass="redBtn mb15 ml5"
                OnClick="BtnRemove" runat="server" OnClientClick="getCompany();" />
            <asp:Button ID="btnSaveWithoutStatus" Text="Lưu lại" ClientIDMode="Static" Visible="false"
                CssClass="seaBtn mb15 ml5" OnClick="BtnSaveWithoutStatus" runat="server" OnClientClick="getCompany();" />
        </div>
        <div class="fix">
        </div>
    </div>
</fieldset>
